package com.dd.cloud.user.entity.doctor;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author Lx
 * @version 1.0
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
@Table(comment = "绑定审方医生关系表")
public class BindReviewPresDoctor implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 绑定审方医生关系表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 审方医生id
     */
    @Column(comment = "审方医生id")
    private Integer reviewDoctorId;

    /**
     * 申请医生id
     */
    @Column(comment = "申请医生id")
    private Integer applyDoctorId;

    /**
     * 医疗机构
     */
    @Column(comment = "医疗机构", length = 30)
    private String organization;

    /**
     * 状态 1正常 2解约 3拒绝 4待审核 5已失效 -1删除
     */
    @Column(comment = "状态 1正常 2解约 3拒绝 4待审核 5已失效 -1删除")
    private Integer status;

    /**
     * 解约原因
     */
    @Column(comment = "解约原因", length = 200)
    private String rescindReason;

    /**
     * 拒绝原因
     */
    @Column(comment = "拒绝原因", length = 200)
    private String rejectReason;

    /**
     * 拒绝时间
     */
    @Column(comment = "拒绝时间")
    private LocalDateTime rejectDate;

    /**
     * 有效期开始时间
     */
    @Column(comment = "有效期开始时间")
    private LocalDate termStartDate;

    /**
     * 有效期结束时间
     */
    @Column(comment = "有效期结束时间")
    private LocalDate termEndDate;

    /**
     * 创建时间
     */
    @Column(comment = "创建时间")
    private LocalDateTime createDate;

    /**
     * 修改时间
     */
    @Column(comment = "修改时间")
    private LocalDateTime updateDate;
}
